<div th:fragment="grant" id="modal_grant_form" class="modal fade" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-body">
        <div class="row">
          <h3 class="m-t-none m-b">授权</h3>
          <div class="col-sm-8 col-sm-push-2">
            <h2>Tree</h2>
            <form id="grant_form" method="post" class="form-horizontal" action="/admin/role/grant">
              <div id="treeview" class=""></div>
              <div class="form-group">
                <div class="col-sm-8 col-sm-push-4">
                  <input type="hidden" id="id_grant" name="id"/>
                  <button class="btn btn-primary" type="button" onclick="grant()"><i class="fa fa-check"></i>&nbsp;确定</button>
                  <button class="btn btn-default" type="button" data-dismiss="modal"><i class="fa fa-close"></i>&nbsp;取消</button>
                </div>
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>